package com.limingfeiyu.platform.management.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 医院_项目
 * </p>
 *
 * @author 黎铭飞羽
 * @since 2024-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hospital_item")
@ApiModel(value="HospitalItem对象", description="医院_项目")
public class HospitalItem implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @ApiModelProperty(value = "项目类型")
    private String itemType;

    @ApiModelProperty(value = "项目代码")
    private String itemCode;

    @ApiModelProperty(value = "收费代码")
    private String chargeCode;

    @ApiModelProperty(value = "收费单价")
    private BigDecimal chargePrice;

    @ApiModelProperty(value = "收费折后价")
    private BigDecimal chargeDiscountedPrice;

    @ApiModelProperty(value = "项目说明")
    private String itemExplain;

    @ApiModelProperty(value = "医院信息ID")
    private Long hospitalId;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
      @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    @TableLogic
    private String delFlag;


}
